package com.wxy.service;

import java.util.List;

import com.wxy.domain.history;
import com.wxy.domain.transform;
import com.wxy.domain.user;

public interface service {
	public List<user> findALLUsers();
	public int findMaxId();
	public void insertUser(user user);
	public List<history> findAllHistorys();
	public int findMoneyByUserName(String username);
	public List<history> findHistoryByCardId(String card_id);
	public user findUserByUsername(String username);
	public boolean transfer(transform t1,transform t2,history h1,history h2);
	public boolean inMoney(transform transform,history history);
	public boolean outMoney(transform transform,history history);
}
